#pragma once
//============================================================================
// Copyright (C) 2003-2013 Brett R. Jones 
// All Rights Reserved
//
// You may redistribute and/or modify for non commercial and commercial uses 
// provided this copyright notice remains in place and is not modified
//
// This code is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
//
// brettjones1900@gmail.com
// http://www.p2panarchy.com
//============================================================================

#pragma pack(push) 
#pragma pack(1)
	
class PktUpdateChar : public VxPktHdr
{
public:
	PktUpdateChar()
	{
		m_u16PktLen = sizeof( PktUpdateChar );
		m_u16PktType = PKT_TYPE_UPDATE_CHAR;
	}
	U16 u16HighlightColor;
	Vec3f vPos;		// position of char
	F32 f32Dir;		// direction char is pointing
	U32 u32SnChar;	// serial of char
	U32 u32ModelId; // model id of char
	
	U8	au8Res[4];//res to round to 16 bytes
};

#pragma pack(pop)